/**Filename: arrayList.h
 * Author(s): Vladimir Dudnic, Michael Groenier, Derek Fleener
 * Winter 2013 TCSS422
 * Project 2
 */

#ifndef ARRAYLIST
#define ARRAYLIST

typedef struct arrayList{
        int head;
        int tail;
        void** array;
        int arraySize;
        int size;
}arrayList;


int init_list(arrayList*, int);
void* list_remove(arrayList*, int);
void* list_get(arrayList*, int);
int list_add(arrayList*, void*);
void list_destroy(arrayList*);

#endif
